package com.attendance.security.user.pojo;

import com.attendance.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.stereotype.Component;

/**
 * 用户
 *
 * @author 鵺丶
 * @date 2020/12/09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Component
@TableName("t_user")
public class UserInfo extends BaseEntity {
    @TableId(type= IdType.AUTO)
    private Long userId;
    private String userName;
    private String password;
}
